import java.util.Comparator;

public class Main {

    public static void main(String[] args) {
        Integer[] array = Integers.random(1000, 10000, 99999);

        ShellSort<Integer> shellSort = new ShellSort<>(new Comparator<>() {
            @Override
            public int compare(Integer o1, Integer o2) {
                return o1 - o2;
            }
        });

        shellSort.sort(array);

        Asserts.test(Integers.isAscOrder(array));
    }
}
